Skip to content

Use NumPy macros for overflow detection #55977

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 17, 2023

Conversation

WillAyd
Copy link
Member

@WillAyd WillAyd commented Nov 15, 2023

No description provided.

@mroeschke mroeschke added Build Library building on various platforms Internals Related to non-user accessible pandas implementation labels Nov 15, 2023
@mroeschke
Copy link
Member

Looks like the complier warnings are still appearing in the MacOS build

  [88/152] Compiling C object pandas/_libs/pandas_datetime.cpython-39-darwin.so.p/src_vendored_numpy_datetime_np_datetime.c.o
  ../../pandas/_libs/src/vendored/numpy/datetime/np_datetime.c:358:40: warning: incompatible pointer types passing 'int64_t *' (aka 'long long *') to parameter of type 'long *' [-Wincompatible-pointer-types]
    return checked_int64_sub(year, 1970, result);

@WillAyd
Copy link
Member Author

WillAyd commented Nov 16, 2023

Ah cool that's helpful to see - thanks for pointing it out

@WillAyd
Copy link
Member Author

WillAyd commented Nov 17, 2023

Ok think the warnings are gone now

@mroeschke mroeschke added this to the 2.2 milestone Nov 17, 2023
@mroeschke mroeschke merged commit ac6cec3 into pandas-dev:main Nov 17, 2023
@mroeschke
Copy link
Member

Thanks @WillAyd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants